﻿namespace NTLib.Pipe.Exceptions
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    /// <summary>
    /// Occure when you try to use a pipe not initialized
    /// </summary>
    public class PipeNotInitializedException : PipeException
    {
        #region Cotr

        /// <summary>
        /// Initializes a new instance of the <see cref="PipeNotInitializedException"/> class.
        /// </summary>
        public PipeNotInitializedException()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="PipeNotInitializedException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="inner">The inner.</param>
        public PipeNotInitializedException(string message, Exception inner = null)
            : base(message, inner)
        {
        }

        #endregion
    }
}
